<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智能图书平台</title>
    <style>
        * {
            box-sizing: border-box;
        }

        body {
            font-family: '黑体', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f2f5;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background-color: #dcdad7;
        }

        header img {
            height: 40px;
        }

        nav {
            display: flex;
            align-items: center;
        }

        nav button {
            background-color: transparent;
            border: none;
            color: black;
            font-size: 14px;
            margin-left: 10px;
            padding: 10px 5px;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            transition: color 0.3s, background-color 0.3s;
        }

        nav button.login, nav button.register {
            font-size: 16px;
            padding: 10px 30px;
            margin-left: 15px;
            color: #ffffff;
            background-color: #3f51b5;
        }

        nav button:hover {
            background-color: #dcdad7;
            color: #3f51b5;
        }

        main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px;
        }

        .carousel-container {
            width: 50%;
            position: relative;
            overflow: hidden;
            border-radius: 20px;
        }

        .carousel-container img {
            width: 100%;
        }

        .content {
            width: 45%;
        }

        .content p {
            font-size: 25px;
            color: #333;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .content button {
            background-color: #3f51b5;
            color: white;
            border: none;
            padding: 10px 30px;
            font-size: 18px;
            cursor: pointer;
            border-radius: 5px;
            text-align: center;
            transition: background-color 0.3s;
        }

        .content button:hover {
            background-color: #303f9f;
        }

        .ai-button {
            display: inline-block;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            border-radius: 50%;
            background-color: #3f51b5;
            color: white;
            font-size: 18px;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.3s;
            position: fixed;
            bottom: 20px;
            left: 20px;
        }

        .ai-button:hover {
            color: white;
            background-color: #303f9f;
        }


    </style>
</head>
<body>
<a href="http://localhost/" class="ai-button">AI</a>
<header>
    <div class="logo">
        <img src="../static/your-logo-url.png" alt="Logo">
    </div>
    <nav>
        <button>首页</button>
        <button class="login" onclick="window.location.href='/login'">登陆</button>
        <button class="register" onclick="window.location.href='/face_login'">人脸登陆</button>
    </nav>
</header>
<main>
    <div class="carousel-container">
        <img src="../static/your-large-image-url.jpg">
    </div>
    <div class="content">
        <p>
            线上图书馆
        </p>
        <p>
            这是一个较为完善的图书管理页面
        </p>
        <button class="login" onclick="window.location.href='/login'">开始使用</button>
    </div>
</main>
</body>
</html>
